import { POST } from '../../services/request';

export default{
    addressAdd(data = {})
    {
        return POST({
            url:'business/address/add',
            params:data
        })
    },
    addressIndex(data = {}){
        return POST({
            url:'business/address/index',
            params:data
        })
    },
    addressInfo(data = {}){
        return POST({
            url:'business/address/info',
            params:data
        })
    },
    addressEdit(data = {}){
        return POST({
            url:'business/address/edit',
            params:data
        })
    },
    addressDel(data = {}){
        return POST({
            url:'business/address/del',
            params:data
        })
    },
    addressSelected(data = {}){
        return POST({
            url:'business/address/selected',
            params:data
        })
    },
    //购物车地址
    addressDefault(data = {})
    {
        return POST({
            url:'business/address/default',
            params:data
        });
    }
}